package com.geekca.composition;

public class TestCompo {
    public static void main(String[] args) {
        MiddleCompo middleCompo = new MiddleCompo();
        PupilCompo pupilCompo = new PupilCompo();

        middleCompo.title();
        middleCompo.firstPart();
        middleCompo.mainPart();
        middleCompo.lastPart();

        System.out.println("=====================");

        pupilCompo.title();
        pupilCompo.firstPart();
        pupilCompo.mainPart();
        pupilCompo.lastPart();

    }


}
